Buffer sample size control for variable chirp radar

ABSTRACT

A method of radar signal processing includes providing an analog front end (AFE) including an amplifier coupled between an antenna and an ADC in a receive path, where an ADC output is coupled to an input of an elastic ADC buffer (elastic buffer) including a divided memory with for writing samples from the ADC (samples) while reading earlier written samples to a first signal processor by a high speed interface. A transmit path includes at least one power amplifier provided by the AFE coupled to drive an antenna. A Greatest Common Divisor (GCD) is determined across all chirps in a radar frame programmed to be used. For each frame a sample size for the elastic buffer is dynamically controlled constant to be equal to the GCD for reading samples from one memory block and writing samples to another memory block throughout all chirps in the frame.

FIELD

Disclosed embodiments relate to radar systems which support variable length analog-to-digital converter (ADC) data transfers.

BACKGROUND

A conventional radar sensor unit (radar system) comprises an analog front end (synthesizer, mixer, analog-to-digital converters (ADCs, etc.), a signal processing module/unit (e.g., fast Fourier transforms (FFTs), Digital signal processor (DSP) or a microcontroller unit (MCU). Data processing in the radar system is performed on a system cycle/frame basis.

A frame includes N number of frequency-modulated continuous-wave (FMCW) ramps/chirps. A chirp is a smallest logical unit of data used for radar processing. In classical radar systems, each chirp in a frame includes the same number of ADC samples and the same sampling rate. A typical interface between the ADCs and the signal processing unit is one of the known high speed interfaces (HSIs), such as comprising low-voltage differential signaling (LVDS) or a camera serial interface (CSI, e.g., CSI-2).

One application for radar systems is for automotive collision avoidance. An automotive radar front end needs to transfer the ADC sampled data from received radar signals to the DSP or other signal processing module over the HSI. Each burst of ‘M’ (e.g., 128, 256 or 512) ADC samples that is transmitted over the HSI is called a chirp, and ‘N’ is number of such chirps that make up a radar frame. A DSP typically processes the data frame-by-frame to determine the range, velocity and angle of any obstacle/vehicle in front of the radar system of the vehicle.

In a typical automotive radar system each chirp in the respective frames include the same number of ADC samples. To simplify the design and reduce the cost of additional components such as adding another phase lock loop (PLL)-based clock in the radar system, a pipelined first-in-first-out (FIFO) ping-pong/circular buffer can be used in the receive path. A ping-pong buffer has a divided memory with at least 2 memory blocks (or instances), so that while one memory block is writing received radar information the other memory block can be deleting the previously written information. Such a buffer provides the elasticity and flexibility in choosing the HSI lane data rates decoupled from ADC sampling rate usually specified in several million samples per second (MSPS). With the advancement of CMOS-based radars, it is possible to choose the chirp profiles different within a frame to enhance the radar system performance, typically with the number of ADC samples being different from chirp to chirp in the frames.

SUMMARY

This Summary briefly indicates the nature and substance of this Disclosure. It is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims.

Disclosed embodiments recognize in high performance radar systems, chirps of different length and sampling rates are interleaved at the frame level, there is a variable ADC sampling rate, and the number of ADC samples can vary from chirp to chirp in each radar frame. Existing radar system solutions rely on the sampling rate and sample size being the same across all the chirps in the frame and hence either directly use the analog-to-digital converter (ADC) clocks divided version directly (Nyquist ADC) or an additional phase lock loop (PLL) (front ends filtering and flexible resampler after the ADC) without an ADC buffer positioned in-between the ADC (or ADCs) and the signal processing unit. It is also recognized high speed interface (HSI) receivers do not support regularly changing interface clock rates, such as chirp to chirp. Furthermore, HSI receivers do not expect to receive data to be transmitted to the signal processor in random size bursts, so that throttling (gaps between the bursts) is not allowed. Both of these factors complicate the radar system design.

One solution uses a ping-pong buffer between the ADCs and the signal processer which generally works well to reduce the cost of additional PLL(s). However, this scheme fails if the above-described variable factors (variable ADC sampling rate, variable number of ADC samples from chirp to chirp in the frame) are present in the radar system application.

Disclosed radar systems include an elastic ADC buffer (hereafter an “elastic buffer”, such as a ping-pong buffer) between the ADC(s) and a bus referred to herein as a HSI. The elastic buffer includes a divided memory with at least 2 memory blocks for writing samples from the ADC (samples) while reading earlier written samples out to a first signal processor by the HSI. Each radar frame received can include a plurality of chirps having different numbers of samples per chirp.

A Greatest Common Divisor (GCD) is dynamically determined for frame-by-frame across all chirps in the frame programmed to be used by the radar system so that the GCD is determined before the first chirp in each frame. For each frame, a size for the samples (sample size) for the elastic buffer is dynamically controlled to be equal to the GCD for reading samples from one of the memory blocks and writing samples to another of the memory blocks throughout all chirps in the frame, wherein each chirp having more samples than the GCD is divided into sub-chirps having 2 or more increments equal to the GCD.

BRIEF DESCRIPTION OF THE DRAWINGS

Reference will now be made to the accompanying drawings, which are not necessarily drawn to scale, wherein:

FIG. 1 is a flow chart that shows steps in an example method of radar signal processing where the sample size for the elastic buffer's reading samples from memory blocks and writing samples to memory blocks for all chirps in the frame is controlled to be equal to the GCD, according to an example embodiment.

FIG. 2 is a block diagram of radar system including an example radar front end including an example radar front end chip having a disclosed elastic buffer between the ADCs and the HSI, according to an example embodiment.

FIG. 3 is a depiction of radar system operation of radar system shown in FIG. 2 across the simplified frame where a GCD is determined across all chirps in the frame that is programmed to be used, and the ping-pong buffer is controlled so that such the sample size for each switch between writing and reading functions is dynamically determined from the GCD for both reading samples from memory blocks and writing samples to the memory blocks throughout all the chirps in the frame, according to an example embodiment.

DETAILED DESCRIPTION

Example embodiments are described with reference to the drawings, wherein like reference numerals are used to designate similar or equivalent elements. Illustrated ordering of acts or events should not be considered as limiting, as some acts or events may occur in different order and/or concurrently with other acts or events. Furthermore, some illustrated acts or events may not be required to implement a methodology in accordance with this disclosure.

Also, the terms “coupled to” or “couples with” (and the like) as used herein without further qualification are intended to describe either an indirect or direct electrical connection. Thus, if a first device “couples” to a second device, that connection can be through a direct electrical connection where there are only parasitics in the pathway, or through an indirect electrical connection via intervening items including other devices and connections. For indirect coupling, the intervening item generally does not modify the information of a signal but may adjust its current level, voltage level, and/or power level.

As used herein and by way of example and not by limitation, “hardware” can include a combination of discrete components, an integrated circuit, an application-specific integrated circuit, a field programmable gate array, a general purpose processing or server platform, or other suitable hardware. As used herein and by way of example and not by limitation, “software” can include one or more objects, agents, threads, lines of code, subroutines, separate software applications, one or more lines of code or other suitable software structures operating in one or more software applications or on one or more processors, or other suitable software structures. In one example embodiment, software can include one or more lines of code or other suitable software structures operating in a general purpose software application, such as an operating system, and one or more lines of code or other suitable software structures operating in a specific purpose software application.

Disclosed embodiments include an elastic buffer in the receive path between the ADC(s) and HSI that is dynamically controlled frame-to-frame so that that the sample size for reading samples from a memory block and writing samples to another memory block for all chirps in each frame is equal to the GCD for the frame. A timing engine (e.g., Radar Timing Generator (RTG)) can be used for the dynamic control. An “elastic buffer” as used herein is a buffer that has a divided memory with at least 2 memory blocks/instances (e.g., first memory block and a second memory block), so that while one memory block is writing newly received radar information the other memory block can be deleting the previously received radar information/data that is read out.

Ping-pong buffers are known to be a specialized form of FIFO (First-In, First-out) queue that divides a block of storage typically into two equal halves, with one half (the write buffer) generally always available for writing, and the other half (the read buffer) generally emptied in one fell swoop when the write buffer fills and the ping-pong action makes the former write buffer now available for reading. Ping-pong buffers are similar to ring or circular buffers in that one can keep writing to them so long as the corresponding reads process empties the buffer before it fills.

As noted above, in a typical radar application, all the chirps are of same size. In more recent high performance radar applications, the chirps in each frame are of size k*2^(n) ADC samples, k being a small integer, and n can be different from chirp to chirp in the frame, such as for imaging objects at different distances for a motor vehicle for collision avoidance applications. For example, assume for a given frame there is at least one chirp with 128 samples, at least one chirp with 256 samples, and at least one chirp with 512 samples.

The radar system has the frame parameters (chirp sequence including the number of samples per chirp) programmed before transmitting the first chirp in the frame. This programmed frame information is used to determine that the GCD is 128 in this specific frame example, and the elastic buffer's sample size for reading stored radar data from one memory block and writing radar data to another memory block is controlled to be the GCD=128 samples (constant). Each burst (128 samples) thus becomes uniform (non-throttling) and the same sample size in each frame. As a result, the HSI lane rate is never needed to be greater than the highest ADC sampling rate used, being 10 million samples per second (MSPS) in this particular example. Usually the ADC sampling rate will be quoted in MSPS unit (MSPS=maximum conversion rate of the ADC, usually is equal to maximum sampling frequency).

FIG. 1 is a flow chart that shows steps in an example method 100 of radar signal processing where the sample size for the elastic ADC buffer's reading samples from one memory block and writing samples to another memory block for all chirps in the frame is controlled to be equal to the GCD, according to an example embodiment. FIG. 2 is a block diagram of radar system 200 including an example radar front end chip (radar chip) 250 that can be used to implement method 100. Step 101 comprises providing an analog front end (AFE) 240 including an amplifier (214 a ₁, 214 a ₂) coupled between at least one antenna shown as receive antenna 253 and at least one ADC 215 a ₁, 215 a ₂ in a receive path provided by the receiver 250 a. The output of the ADCs 215 a ₁, 215 a ₂ are coupled to an input of the elastic buffer 217 shown as an “elastic ADC buffer” in FIG. 2 which includes a divided memory with at least 2 memory blocks (shown as M1 and M2) for writing samples received from the ADC (samples) while reading earlier written samples out to a first signal processor 220 by an HSI 219.

The HSI 219 can be an internal bus. The respective memory blocks (M1 and M2) are configured to switch writing and reading functions after a filling an emptying cycle is completed. A transmit path includes at least one power amplifier provided by the AFE 240, and a waveform generator coupled by DAC 231 to receive waveform data from the second signal processor 230. The waveform generator 233 has an output coupled to an input of the power amplifier (211 b ₁, 211 b ₂) that is coupled to drive the transmit antenna 254.

Step 102 comprises determining a GCD across all chirps in a radar signal frame (frame) programmed to be used. Each frame may include chirps having at least two different numbers of samples. Step 103 comprises for each frame dynamically controlling a size for the samples (sample size) in each chirp to be equal to the GCD for the elastic buffer 217 for reading samples from one of the memory blocks (say M1 at one time) and writing samples to another of the memory blocks (say M2 at that time) throughout all chirps in the frame, where each of the plurality of chirps having more samples than the GCD are divided into sub-chirps having 2 or more increments equal to the GCD. The HSI lane rate as a result is not needed to be greater than the highest sampling rate on the frame.

The radar chip 250 in FIG. 2 is shown formed on a substrate 205. Radar chip 250 is generally a complementary metal oxide semiconductor (CMOS) chip formed on substrate 205 that includes a multichannel receiver 250 a having a receive antenna 253 and a multichannel transmitter 250 b having a transmit antenna 254. The substrate 205 has at least a semiconductor surface, and may comprise silicon, such as bulk silicon or silicon epi on a bulk silicon substrate. The substrate 205 may also generally comprise other materials, such as elementary semiconductors besides silicon including germanium. The substrate 205 may also generally comprise a compound semiconductor.

An output from the receive antenna 253 is coupled to an input of low noise preamplifiers 211 a ₁ and 211 a ₂ associated with respective receive channels 1 and 2. The outputs of the preamplifiers 211 a ₁ and 211 a ₂ are coupled to mixers 212 a ₁ and 212 a ₂, respectively, having outputs coupled to inputs of band pass filters 213 a ₁ and 213 a ₂, respectively. The mixers 212 a ₁ and 212 a ₂ down-convert the received RF signal. The outputs from the band pass filters 213 a ₁ and 213 a ₂ are coupled to amplifiers 214 a ₁ and 214 a ₂, respectively, which are coupled to ADCs 215 a ₁, and 215 a ₂ which have outputs coupled to a decimator 216 shown as being FFT-based

The decimator 216 is for decimating down the radar signal to the required sampling rate. The output of the decimator 216 is coupled to an input of the elastic buffer 217. The output of the elastic buffer 217 is shown coupled to a direct memory access (DMA) block 218. DMA is a feature of computer systems that allows certain hardware subsystems to access main system memory (e.g. random access memory (RAM)) independently of the central processing unit (CPU). A DMA controller can generate memory addresses and initiate memory read or write cycles. It contains several processor registers that can be written and read by the CPU. These include a memory address register, a byte count register, and one or more control registers. The control registers specify the I/O port to use, the direction of the transfer (reading from the I/O device or writing to the I/O device), the transfer unit (byte at a time or word at a time), and the number of bytes to transfer in one burst.

The output of the DMA block 218 is coupled to first signal processor 220 by HSI 219 which is clocked by clock (CLK) 221. HSI 219 can comprise low-voltage differential signaling (LVDS) or a camera serial interface (CSI), such as CSI-2.

The output of the first signal processor 220 is shown coupled to the input of an engine control unit (ECU) 225 which is provided to support an engine control function including collision avoidance based on processing radar data. In the engine control application, the first signal processor 220 processes the radar data frame-by-frame to determine the range, velocity and angle of any obstacle/vehicle in front of the radar system of the vehicle.

For engine control applications the antenna system for radar system 200 is generally a multistatic antenna system comprising a plurality of transmit antenna (2 transmit antennas) and a plurality of receive antennas (e.g., 3 antenna for 3 channels). The RF signal to the two transmit antennas can be time-multiplexed on a per sweep basis and the receiver channels shown work in parallel. Thus, for example, with 5 antennas, 6 propagation paths of different length are obtained to enable the location of objects around the vehicle in 3-D space.

The transmitter 250 b is shown including a second signal processor 230 which can be the same or a different signal processor as the first signal processor 220. The output of the second signal processor 230 is shown coupled to the input of a DAC 231. A waveform generator (or synthesizer) 233 can receive waveform data inputs from DAC 231 and clock 232 that is coupled to the inputs of amplifiers 211 b ₁ and 211 b ₂ which drive the transmit antenna 254. However, DAC 231 is not necessary as the waveform generator 233 itself can directly synthesize the waveform after receiving the waveform data from the second signal processor 230. First signal processor 220 and second signal processor 230 in one embodiment are provided by one or more microcontroller units (MCUs).

Data processing in radar systems 200 is performed on a system cycle/frame basis. Frame includes n number of frequency-modulated continuous-wave (FMCW) ramps/chirps that may be sawtooth waveforms (see FIG. 3 described below).

As described above, disclosed embodiments include achieving radar system flexibility without putting a challenging lane transfer rate requirement on the HSI 219 that is present for an alternative solution where the HSI lane data rates is increased to take care of a worst case combination of two consecutive chirps. As described in the examples below, for the alternative solution there is a 40 MSPS HSI lane transfer rate requirement, while for the worst case sampling rate in the frame the HSI lane transfer rate requirement the same 10 MSPS (¼ of 40 MSPS) is constant across the entire frame for disclosed embodiments.

Advantages of disclosed embodiments include a relatively simple radar board design that still supports different sample size chirps in a frame since there is no additional complexity due to conventional HSI lane transfer rate requirements. A more simplified receiver design results due to no need to support for lane transfer rate changes from chirp to chirp and non-uniform bursts in the radar system design. Moreover, no handshaking is needed for throttling (handshaking between the ADC(s) 215 a ₁ and 215 a ₂ and controller for the HSI 219), while still meeting the existing feature of a decoupled sampling rate from the HSI lane rate without needing an additional clock such as a PLL-based clock.

EXAMPLES

Disclosed embodiments are further illustrated by the following specific Examples, which should not be construed as limiting the scope or content of this Disclosure in any way.

In this example, the elastic buffer is described as a ping-pong buffer with a ping section (Pi) and a pong (Po) section. The chirps in the simplified example frame include Chirp A with 256 samples, Chirp B with 512 samples and Chirp C with 128 samples. Assume a constant ADC sampling rate from chirp to chirp. While 512 samples for chirp B is being transmitted (read from) from the ping section of the ping-pong buffer, the pong section is capturing (writing) the 128 ADC samples for chirp C. Accordingly, 512 samples (chirp B) have to be transmitted out before the chirp C duration is completed. As a result, a circular buffer scheme is needed so that the data gets averaged across the chirps, but it is recognized herein that averaging still does not solve the problem completely as there is still a risk of a ping-pong buffer over/under run issue.

Adding a variable sample rate factor, the problem becomes further complicated. Using this same example thus puts a non-realistic requirement on the HSI lane rate. The HSI lane rate needed is 4×=to 512 samples needed to be transmitted in the same duration while 128samples @ 10 MSPS from the ADC(s) is being captured in ping-pong buffer. So, even though the highest sampling rate in any of the chirps shown is only 10 MSPS, the HSI lane rate used by HSI 219 needed is 40 MSPS.

FIG. 3 is a depiction of radar system operation of radar system 200 in FIG. 2 across the simplified example frame described above where a GCD is determined across all chirps in the frame that is programmed to be used, and the ping-pong buffer is controlled so that such the sample size for each switch between writing and reading functions is dynamically determined from the GCD for both reading samples from memory blocks and writing samples to the memory blocks throughout all the chirps in the frame. Using the ping-pong buffer in the signal path with the sample size set to the GCD of all the chirps in each frame (here 128 samples) can be seen to solve the above described problem. As the GCD of the all the chirps in this frame is 128, the ping-pong buffer switching (reading samples from the memory blocks or writing samples to the memory blocks throughout all the chirps in the frame) is controlled to happen every GCD=128 samples. Each burst (128 samples) thus becomes uniform (non-throttling) and the same size. As a result, the HSI lane rate used by HSI 219 is not needed to be greater than the highest sampling rate required (>40 MSPS), instead the HSI lane rate needed is 10 MSPS in this example.

Those skilled in the art to which this disclosure relates will appreciate that many other embodiments and variations of embodiments are possible within the scope of the claimed invention, and further additions, deletions, substitutions and modifications may be made to the described embodiments without departing from the scope of this disclosure. 

The invention claimed is:
 1. A method of radar signal processing, comprising: providing an analog front end (AFE) including an amplifier coupled between at least one antenna and at least one analog-to digital converter (ADC) in a receive path, an output of said ADC coupled to an input of an elastic ADC buffer (elastic buffer) including a divided memory with at least 2 memory blocks for writing samples from said ADC (samples) while reading earlier written ones of said samples out to a first signal processor by a high speed interface (HSI), and a transmit path including at least one power amplifier provided by said AFE, said transmit path including a waveform generator for generating a waveform from received waveform data from said first or a second signal processor, said waveform generator having an output coupling said waveform to an input of said power amplifier that is coupled to drive at said antenna or another antenna; determining a Greatest Common Divisor (GCD) across a plurality of chirps in a radar signal frame (frame) programmed to be used, and for each said frame, dynamically controlling a size for said samples (sample size) for said elastic buffer to be equal to said GCD for reading said samples from one of said memory blocks and writing said samples to another of said memory blocks throughout all said chirps in said frame, wherein each said chirp having more samples than said GCD is divided into sub-chirps having 2 or more increments equal to said GCD.
 2. The method of claim 1, wherein a lane rate used by said HSI is constant throughout said frame and is set to a highest sampling rate used by said ADC in said frame.
 3. The method of claim 1, wherein said elastic buffer comprises a ping-pong buffer.
 4. The method of claim 1, further comprising a decimating said samples using a decimator between said ADC and said elastic buffer.
 5. The method of claim 1, wherein said receive path includes a plurality of channels, and said transmit path includes a plurality of channels.
 6. The method of claim 1, wherein an output of said first signal processor is coupled to an input of an engine control unit (ECU), wherein said ECU provides an engine control function including collision avoidance for a motor vehicle.
 7. The method of claim 1, wherein said waveform generator itself directly synthesizes said waveform after receiving said waveform data from said first or said second signal processor.
 8. The method of claim 1, wherein a digital-to-analog converter (DAC) is between said first or said second signal processor and wherein said waveform generator performs analog converting of said waveform data.
 9. A radar system, comprising: an analog front end (AFE) including an amplifier in a receive path coupled between at least one antenna and at least one analog-to digital converter (ADC), and a power amplifier in a transmit path coupled to drive said antenna or another antenna; an elastic ADC buffer (elastic buffer) including a divided memory with at least 2 memory blocks for writing samples from said ADC (samples) while reading earlier written ones of said samples out to a first signal processor by a high speed interface (HSI); said transmit path including a waveform generator for generating a waveform from received waveform data from said first signal processor or a second signal processor, said waveform generator having an output coupling said waveform to an input of said power amplifier; determining a Greatest Common Divisor (GCD) across all of a plurality of chirps in a radar signal frame (frame) programmed to be used, and for each said frame, dynamically controlling a size for said samples (sample size) for said elastic buffer to be equal to said GCD for reading samples from one of the memory blocks and writing samples to another of said memory blocks throughout all chirps in said frame, wherein each said chirp having more samples than said GCD is divided into sub-chirps having 2 or more increments equal to said GCD.
 10. The radar system of claim 9, wherein a lane rate used by said HSI is controlled to be constant throughout said frame and to be set to a highest sampling rate used by said ADC in said frame.
 11. The radar system of claim 9, wherein said elastic buffer comprises a ping-pong buffer.
 12. The radar system of claim 9, wherein said waveform generator itself directly synthesizes said waveform after receiving said waveform data from said first or said second signal processor.
 13. The radar system of claim 9, further comprising a digital-to-analog converter (DAC) between said first or said second signal processor and said waveform generator for analog converting said waveform data.
 14. The radar system of claim 9, further comprising a decimator for decimating said samples using a decimator positioned between said ADC and said elastic buffer.
 15. The radar system of claim 9, wherein: said receive path includes a plurality of channels and said transmit path includes a plurality of channels, and wherein an output of said first signal processor is coupled to an input of an engine control unit (ECU).
 16. The radar system of claim 9, wherein said first signal processor and said second signal processor are provided by one or more microcontroller units (MCUs). 